<title>About this tool:</title>
Hysteresis can be added to the comparator circuit by implementing an additional resistor. The advantage of hysteresis is that it uses two different threshold voltages, VL (lower threshold) and VH (higher threshold). The input signal must exceed the higher threshold (VH) in order to transition to a low level. And then it must go below the lower threshold (VL) in order to transition back to the high level.

This circuit is commonly known as a Schmitt-Trigger.

When the output is high, R3 is in parallel to R1. This increases the threshold voltage to a higher level.

<_image>Calc3Sub09_pic03.png</_image>

When the output is low, R3 is in parallel to R2. This decreases the threshold voltage to a lower level.

<_image>Calc3Sub09_pic04.png</_image>

<_image>Calc3Sub09_pic02.png</_image>

The below screenshot from a TI application note (Ref: "Comparator with Hysteresis Reference Design" by Art Kay, Timothy Claycomb) shows the output of a comparator with hysteresis when a noisy input signal is applied.

<_image>Calc3Sub09_pic05_NI.png</_image>
